import request from '@/utils/request'

// 查询账户管理列表
export function listDs(query:any) {
  return request({
    url: '/code/gen2/dblist',
    method: 'get',
    // params: query
  })
}
// 新增角色
export function addDs(data:any) {
  console.log(data)
  return request({
    url: '/code/gen2/addds',
    method: 'post',
    data: data
  })
}
export function updateDs(data:any) {
  return request({
    url: '/system/role',
    method: 'post',
    data: data
  })
}